
<template>
	<view class="level-select-box">
		<view class="selector" @click="handleClick">
			<input type="text" class="input-box" placeholder="请选择日期" placeholder-class="intput-placeholder"  :value="inputvalue" disabled="" />
			<i class="iconfont iconxiala"></i>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			inputvalue: {
				type: String,
				default: ''
			}
		},
		data () {
			return {
				status: !1
			}
		},
		methods:{
			cleanHistory (){
				// api.post('/clean/history/').then(res=>{})
				this.history_list = []
			},
			back () {
				uni.reLaunch({
					url:"free-index"
				})
			},
			handleClick (evt) {
				this.$emit('ck',evt)
			}
		},
		components: {
		}
	}
</script>

<style scoped>
	.iconfont{font-family: iconfont;}
	.intput-placeholder{font-size:28upx; font-family:Source Han Sans CN; font-weight:400; line-height:48upx;color: #ccc;margin-left: 10upx;}
	.input-box{margin-left: 10upx;border: none;}
	.level-select-box{display:flex;align-items:center;}
	.level-select-box .selector{color:#333;display:inline-flex;justify-content:space-between;width:340upx;border:2upx solid #e5e5e5;align-items: center;width: 100%;;}
	.selector i{margin-right:10upx}
	.selector text{margin-left:10upx}
</style>
